This page last changed on Nov 27, 2008 by scytacki.

There are several libraries that save objects into xml. Probably every maintained object oriented language has libraries for doing this. There are 2 main formats:

  • fixed schema - Spring, XMLEncoder
  • variable schema - example XMI, JAXB, modello (used by maven)

Examples

Fixed Schema Variable Schema
<bean class="org.concord.flower.Flower">
   <property name="numPetals" value="5"/>
</bean>
<Flower numPetals="5"/>
Document generated by Confluence on Jan 27, 2014 16:52